package com.techsoul.module.order.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
import java.io.Serializable;

/**
 * 退货单明细 保存参数
 * 
 * @author liuen
 * @date 2020-12-07
 */
@Data
@Accessors(chain = true)
public class ReturnOrderItemSaveParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID（系统自动产生）")
    private String id;

    @ApiModelProperty("退货订单ID")
    private String returnOrderId;

    @ApiModelProperty("订单明细ID")
    private String salesOrderItemId;

    @ApiModelProperty("分类ID")
    private String categoryId;

    @ApiModelProperty("SPU_ID")
    private String spuId;

    @ApiModelProperty("SKU_ID")
    private String skuId;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("单价")
    private Double price;

    @ApiModelProperty("重量")
    private Long weight;

    @ApiModelProperty("数量")
    private Long qty;

    @ApiModelProperty("总金额")
    private Double money;

    @ApiModelProperty("支付金额")
    private Double payMoney;

    @ApiModelProperty("图片地址")
    private String image;

    @ApiModelProperty("所属商户ID")
    private String storeId;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("是否有效（数据字典sys_yn_type，默认1-是）")
    private String isValid;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新人")
    private String updateBy;

    @ApiModelProperty("更新时间")
    private Date updateTime;
    @ApiModelProperty("客户订单号")
    private String custSalesOrderNo;

    @ApiModelProperty("结算生成失败原因")
    private String genAccFailedReason;
    @ApiModelProperty("导入错误代码")
    private String errorCode;


    @ApiModelProperty("报错信息")
    private String importErrorMesg;

    @ApiModelProperty("报错信息标识")
    private String errorFlag;
    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("客户SKU")
    private String custSkuId;

    @ApiModelProperty("客户子订单号")
    private String custSalesOrderItemNo;

    @ApiModelProperty("客户SPU编号")
    private String custSpuId;

    @ApiModelProperty("结算单号")
    private String settlemetNo;

    @ApiModelProperty("订单完成时间")
    private String custSalesOrderCompleteTime;
    @ApiModelProperty("退单完成时间")
    private String lastUpdDt;
}
